class BreakDemo
{
public  static void main(String[] args)
{
int sum=0;
int a=0;
        for(int i=0,j=1;j<5;j=j+3)
        {
            a=i+j;
sum=sum+a;
        }
        System.out.println("sum="+sum);
    }
}